﻿using Microsoft.Practices.Prism.Events;
using Microsoft.Practices.Prism.Regions;
using Tanmia.Basis.ViewInterface;
using Tanmia.Basis.ViewModel;
using Tanmia.Warehouse.Core;
using Tanmia.Warehouse.Domain;

namespace Tanmia.Warehouse.Presentation.Scenarios
{
    [ViewInfo("تحرير أنواع الأسعار", "الأسعار التي من الممكن أن نبيع بها", Constants.RegionEditor, Views.PriceNameEditor)]
    public class PriceNameEditorViewModel : EditorViewModel<PriceName>
    {
        public PriceNameEditorViewModel(IShellView shellView, IRegionManager regionManager, IEventAggregator eventAggregator, IBusinessEntityNavigator<PriceName> entityNavigator, IMessageService messageService, PriceNameDomain priceNameObj)
            : base(shellView, regionManager, eventAggregator, entityNavigator, messageService, priceNameObj)
        {
            EntityName = "PriceName";
        }
    }
}
